package models

type TeacherInfoReq struct {
	Username  string `json:"username"`   //用户名
	Password  string `json:"password"`   //密码
	WxOpenID  string `json:"wx_open_id"` //微信open_id
	Name      string `json:"name"`       //姓名
	ClassList string `json:"class_list"` //班级
}
type TeacherLoginReq struct {
	Username string `json:"username" binding:"required"`
	Password string `json:"password" binding:"required"`
}
type TeacherRegisterReq struct {
	RegisterUserInfoReq
	WxOpenID string `json:"wx_open_id"`
	Grade    string `json:"grade" binding:"required"`
	Name     string `json:"name"`
}
type SearchTeacherReq struct {
	Grade int `json:"grade"`
}
type SearchTeacherClassReq struct {
	TeacherId int `json:"teacher_id"`
}
